#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<deque>
#include<list>
#include<vector>
using namespace std;
#include"stack_queue.h"

int main()
{
	_stack::stack<int,vector<int>> st;
	st.push(1);
	st.push(2);
	st.push(3);
	st.push(4);
	cout << st.size();
	while (!st.empty())
	{
		cout << st.top() << " ";
		st.pop();
	}
	_queue::queue<int,list<int>> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	cout << q.size();
	while (!q.empty())
	{
		cout << q.front() << " ";
		q.pop();
	}
	return 0;
}
